if teacher
  section.index_side.index_side_mxjs
    .s_title
      span.s_txt.fl 明星讲师
    ul.teacher_list
      each val in teacher
        li.clearfix
          .pic
            a(href='/teacher/#{val.id}', target='_blank')
              img(src='#{val.img}', alt='alvin', width='50', height='50')
          .detail
            p.t_name
              a(href='/teacher/#{val.id}', target='_blank')
                | #{val.name}
            p.t_intro #{val.title}
    s.clearfix